// Helper
function dir(object) {
    methods = [];
    for (var z in object) {
        if (typeof(z) != 'number') {
            methods.push(z);
        }
        methods.join(', ');
    }
    methods.sort();
    print(methods);
}

